using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class DMS027_SBL_VIEWEntity:AF_ORM.CORE.BaseEntity
    {
         public DMS027_SBL_VIEWEntity()
         {
             tableName = "DMS027_SBL_VIEW";


			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","ORDER_NO","ORDER_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","ORDER_DAT","ORDER_DAT","string",8,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","ORDER_TIM","ORDER_TIM","string",6,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","STOCK_OUT_DAT","STOCK_OUT_DAT","string",8,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","ORDER_OPTR","ORDER_OPTR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","STATUS","STATUS","string",10,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","TYPE_CODE","TYPE_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","BP_CODE","BP_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","TOTAL","TOTAL","double",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","FIRST_ALL_DAT","FIRST_ALL_DAT","string",8,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","RPO_NO","RPO_NO","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","RMRK1","RMRK1","string",255,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","RMRK2","RMRK2","string",255,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","ACTFLG","ACTFLG","string",1,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","CTDUSR","CTDUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","CTDWKS","CTDWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","CTDPGM","CTDPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","CTDDTM","CTDDTM","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","MDFUSR","MDFUSR","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","MDFWKS","MDFWKS","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","MDFPGM","MDFPGM","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","LSTMDF","LSTMDF","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","WH_CODE","WH_CODE","string",20,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","COUNT","COUNT","int",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("DMS027_SBL_VIEW","TOTALQTY","TOTALQTY","double",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_ORDER_NO;
		 protected string m_ORDER_DAT;
		 protected string m_ORDER_TIM;
		 protected string m_STOCK_OUT_DAT;
		 protected string m_ORDER_OPTR;
		 protected string m_STATUS;
		 protected string m_TYPE_CODE;
		 protected string m_BP_CODE;
		 protected double m_TOTAL;
		 protected string m_FIRST_ALL_DAT;
		 protected string m_RPO_NO;
		 protected string m_RMRK1;
		 protected string m_RMRK2;
		 protected string m_ACTFLG;
		 protected string m_CTDUSR;
		 protected string m_CTDWKS;
		 protected string m_CTDPGM;
		 protected DateTime m_CTDDTM;
		 protected string m_MDFUSR;
		 protected string m_MDFWKS;
		 protected string m_MDFPGM;
		 protected DateTime m_LSTMDF;
		 protected string m_WH_CODE;
		 protected int m_COUNT;
		 protected double m_TOTALQTY;

		 public string ORDER_NO

          { 
                get { 
                    return m_ORDER_NO;}

                set{m_ORDER_NO=value;

                    GetField("ORDER_NO").Set();
                    GetField("ORDER_NO").IsNull=(value == null);           
                    }
          }
		 public string ORDER_DAT

          { 
                get { 
                    return m_ORDER_DAT;}

                set{m_ORDER_DAT=value;

                    GetField("ORDER_DAT").Set();
                    GetField("ORDER_DAT").IsNull=(value == null);           
                    }
          }
		 public string ORDER_TIM

          { 
                get { 
                    return m_ORDER_TIM;}

                set{m_ORDER_TIM=value;

                    GetField("ORDER_TIM").Set();
                    GetField("ORDER_TIM").IsNull=(value == null);           
                    }
          }
		 public string STOCK_OUT_DAT

          { 
                get { 
                    return m_STOCK_OUT_DAT;}

                set{m_STOCK_OUT_DAT=value;

                    GetField("STOCK_OUT_DAT").Set();
                    GetField("STOCK_OUT_DAT").IsNull=(value == null);           
                    }
          }
		 public string ORDER_OPTR

          { 
                get { 
                    return m_ORDER_OPTR;}

                set{m_ORDER_OPTR=value;

                    GetField("ORDER_OPTR").Set();
                    GetField("ORDER_OPTR").IsNull=(value == null);           
                    }
          }
		 public string STATUS

          { 
                get { 
                    return m_STATUS;}

                set{m_STATUS=value;

                    GetField("STATUS").Set();
                    GetField("STATUS").IsNull=(value == null);           
                    }
          }
		 public string TYPE_CODE

          { 
                get { 
                    return m_TYPE_CODE;}

                set{m_TYPE_CODE=value;

                    GetField("TYPE_CODE").Set();
                    GetField("TYPE_CODE").IsNull=(value == null);           
                    }
          }
		 public string BP_CODE

          { 
                get { 
                    return m_BP_CODE;}

                set{m_BP_CODE=value;

                    GetField("BP_CODE").Set();
                    GetField("BP_CODE").IsNull=(value == null);           
                    }
          }
		 public double TOTAL

          { 
                get { 
                    return m_TOTAL;}

                set{m_TOTAL=value;

                    GetField("TOTAL").Set();
                    GetField("TOTAL").IsNull=(value == null);           
                    }
          }
		 public string FIRST_ALL_DAT

          { 
                get { 
                    return m_FIRST_ALL_DAT;}

                set{m_FIRST_ALL_DAT=value;

                    GetField("FIRST_ALL_DAT").Set();
                    GetField("FIRST_ALL_DAT").IsNull=(value == null);           
                    }
          }
		 public string RPO_NO

          { 
                get { 
                    return m_RPO_NO;}

                set{m_RPO_NO=value;

                    GetField("RPO_NO").Set();
                    GetField("RPO_NO").IsNull=(value == null);           
                    }
          }
		 public string RMRK1

          { 
                get { 
                    return m_RMRK1;}

                set{m_RMRK1=value;

                    GetField("RMRK1").Set();
                    GetField("RMRK1").IsNull=(value == null);           
                    }
          }
		 public string RMRK2

          { 
                get { 
                    return m_RMRK2;}

                set{m_RMRK2=value;

                    GetField("RMRK2").Set();
                    GetField("RMRK2").IsNull=(value == null);           
                    }
          }
		 public string ACTFLG

          { 
                get { 
                    return m_ACTFLG;}

                set{m_ACTFLG=value;

                    GetField("ACTFLG").Set();
                    GetField("ACTFLG").IsNull=(value == null);           
                    }
          }
		 public string CTDUSR

          { 
                get { 
                    return m_CTDUSR;}

                set{m_CTDUSR=value;

                    GetField("CTDUSR").Set();
                    GetField("CTDUSR").IsNull=(value == null);           
                    }
          }
		 public string CTDWKS

          { 
                get { 
                    return m_CTDWKS;}

                set{m_CTDWKS=value;

                    GetField("CTDWKS").Set();
                    GetField("CTDWKS").IsNull=(value == null);           
                    }
          }
		 public string CTDPGM

          { 
                get { 
                    return m_CTDPGM;}

                set{m_CTDPGM=value;

                    GetField("CTDPGM").Set();
                    GetField("CTDPGM").IsNull=(value == null);           
                    }
          }
		 public DateTime CTDDTM

          { 
                get { 
                    return m_CTDDTM;}

                set{m_CTDDTM=value;

                    GetField("CTDDTM").Set();
                    GetField("CTDDTM").IsNull=(value == null);           
                    }
          }
		 public string MDFUSR

          { 
                get { 
                    return m_MDFUSR;}

                set{m_MDFUSR=value;

                    GetField("MDFUSR").Set();
                    GetField("MDFUSR").IsNull=(value == null);           
                    }
          }
		 public string MDFWKS

          { 
                get { 
                    return m_MDFWKS;}

                set{m_MDFWKS=value;

                    GetField("MDFWKS").Set();
                    GetField("MDFWKS").IsNull=(value == null);           
                    }
          }
		 public string MDFPGM

          { 
                get { 
                    return m_MDFPGM;}

                set{m_MDFPGM=value;

                    GetField("MDFPGM").Set();
                    GetField("MDFPGM").IsNull=(value == null);           
                    }
          }
		 public DateTime LSTMDF

          { 
                get { 
                    return m_LSTMDF;}

                set{m_LSTMDF=value;

                    GetField("LSTMDF").Set();
                    GetField("LSTMDF").IsNull=(value == null);           
                    }
          }
		 public string WH_CODE

          { 
                get { 
                    return m_WH_CODE;}

                set{m_WH_CODE=value;

                    GetField("WH_CODE").Set();
                    GetField("WH_CODE").IsNull=(value == null);           
                    }
          }
		 public int COUNT

          { 
                get { 
                    return m_COUNT;}

                set{m_COUNT=value;

                    GetField("COUNT").Set();
                    GetField("COUNT").IsNull=(value == null);           
                    }
          }
		 public double TOTALQTY

          { 
                get { 
                    return m_TOTALQTY;}

                set{m_TOTALQTY=value;

                    GetField("TOTALQTY").Set();
                    GetField("TOTALQTY").IsNull=(value == null);           
                    }
          }

}
}
